﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: U_FriendSiteEntity.cs
// 修改时间：2020-9-8 10:40:12
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：U_FriendSite 的实体类.
	/// </summary>
	[Table("U_FriendSite")]
	public partial class U_FriendSiteEntity
	{
		#region Properties
		private int? _id = 0;
		/// <summary>
		/// (主键)
		/// </summary>
		[Column("ID",TypeName="int")]
		[Key]
		public int? ID
		{
			get {return _id;}
			set {_id = value;}
		}
		
		private System.String _siteUrl = string.Empty;
		/// <summary>
		/// 
		/// </summary>
		[Column("SiteUrl",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String SiteUrl
		{
			get {return _siteUrl;}
			set {_siteUrl = value;}
		}
		
		private System.String _siteIntro = string.Empty;
		/// <summary>
		/// 
		/// </summary>
		[Column("SiteIntro",TypeName="ntext")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String SiteIntro
		{
			get {return _siteIntro;}
			set {_siteIntro = value;}
		}
		
		private System.String _siteAdmin = string.Empty;
		/// <summary>
		/// 
		/// </summary>
		[Column("SiteAdmin",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String SiteAdmin
		{
			get {return _siteAdmin;}
			set {_siteAdmin = value;}
		}
		
		private System.String _siteEmail = string.Empty;
		/// <summary>
		/// 
		/// </summary>
		[Column("SiteEmail",TypeName="nvarchar(255)")]
		[RegularExpression(RegexHelper.EmailPattern, ErrorMessage = "Email格式不对")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String SiteEmail
		{
			get {return _siteEmail;}
			set {_siteEmail = value;}
		}
		
		private System.String _sitePassword = string.Empty;
		/// <summary>
		/// 
		/// </summary>
		[Column("SitePassword",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String SitePassword
		{
			get {return _sitePassword;}
			set {_sitePassword = value;}
		}
		
		private System.String _confirmPassword = string.Empty;
		/// <summary>
		/// 
		/// </summary>
		[Column("ConfirmPassword",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ConfirmPassword
		{
			get {return _confirmPassword;}
			set {_confirmPassword = value;}
		}
		
		#endregion
	}
}
